package com.printhelper.repository;

import com.printhelper.model.Conversion;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ConversionRepository extends MongoRepository<Conversion, String> {
    
    List<Conversion> findByUserIdOrderByCreatedAtDesc(String userId);
    
    List<Conversion> findByStatus(String status);
} 